const bus = new Vue()
bus.x = 100
bus.$on('add', (num) => {
  bus.x += num
})
export default bus